<template>
  <div class="home">
    <Card :homeList="homeList"></Card>
    <Pagination :total="homeList.length"></Pagination>
  </div>
</template>

<script>
import Card from "@/components/Card.vue";
import Pagination from '@/components/Pagination.vue';
export default {
  name: "Home",
  data() {
    return {
      homeList:[
        {
          homeImg: "http://inews.gtimg.com/newsapp_bt/0/13224360385/641",
          homeTitle: "好吃的汉堡堡",
          homeText: "文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介。文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介。",
          userInfo:{
            userImg: "http://inews.gtimg.com/newsapp_bt/0/13224360385/641",
            userName: "Array",
            userYc: "原创",
            userNum: "133万",
            userYy: "JavaScript",
            userTime: "2019-03"
          }
        },
        {
          homeImg: "http://inews.gtimg.com/newsapp_bt/0/13224360385/641",
          homeTitle: "好吃的面包",
          homeText: "文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介。文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介。",
          userInfo:{
            userImg: "http://inews.gtimg.com/newsapp_bt/0/13224360385/641",
            userName: "String",
            userYc: "原创",
            userNum: "134万",
            userYy: "JavaScript",
            userTime: "2019-04"
          }
        },
        {
          homeImg: "http://inews.gtimg.com/newsapp_bt/0/13224360385/641",
          homeTitle: "好吃的汉堡",
          homeText: "文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介。文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介。",
          userInfo:{
            userImg: "http://inews.gtimg.com/newsapp_bt/0/13224360385/641",
            userName: "Object",
            userYc: "原创",
            userNum: "135万",
            userYy: "JavaScript",
            userTime: "2019-05"
          }
        },
        {
          homeImg: "http://inews.gtimg.com/newsapp_bt/0/13224360385/641",
          homeTitle: "好吃的汉堡",
          homeText: "文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介。文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介。",
          userInfo:{
            userImg: "http://inews.gtimg.com/newsapp_bt/0/13224360385/641",
            userName: "Object",
            userYc: "原创",
            userNum: "135万",
            userYy: "JavaScript",
            userTime: "2019-05"
          }
        },
        {
          homeImg: "http://inews.gtimg.com/newsapp_bt/0/13224360385/641",
          homeTitle: "好吃的汉堡",
          homeText: "文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介。文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介文章简介。",
          userInfo:{
            userImg: "http://inews.gtimg.com/newsapp_bt/0/13224360385/641",
            userName: "Object",
            userYc: "原创",
            userNum: "135万",
            userYy: "JavaScript",
            userTime: "2019-05"
          }
        } 
      ]
    };
  },
  components: {
    Card,
    Pagination,
  },
};
</script>

<style lang='scss' scoped>
</style>
